dir=$(dirname $0)
cd $dir && cd ..

OUTPUT="output"
CACHE=".f2e_cache"
VERSION=`node -e "console.log(require('./package.json').version)"`

if [ ! -d $OUTPUT ]
then
    sh ./build.sh
fi

docker build -f script/bun.Dockerfile -t "f2e-server/react-app-bun:"$VERSION .
